
package vectors;
import Exceptions.IncompatibleVectorSizesException;
import java.io.Serializable;

public interface VectorIn extends Iterable<Double>,Cloneable,Serializable,Observable  {
    public  void setElement(double value,int index);
    public Double getElement(int index);
    public int getSize();
    public void massiveToVector(double[] massive);
    public void objectToVector(VectorIn Vector1);
    public void multiplyVector(double multiply);
    public void vectorPlusVector(VectorIn Vector)throws IncompatibleVectorSizesException;
    public boolean equalsVectors(VectorIn Vector);
    public boolean equals(Object obj);
    public int hashCode();
    public String toString();
    public Object clone() throws CloneNotSupportedException;
    public void add(double value);
}
